﻿@using FindIt.Web.Models;
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("http://code.jquery.com/jquery-1.9.1.js")" type="text/javascript"></script>
    <script src="@Url.Content("http://code.jquery.com/ui/1.10.3/jquery-ui.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.datepicker-zh-CN.js")" type="text/javascript"></script>
</head>
<body>
    <h1>
    </h1>
    <div>
        @if (Request.IsAuthenticated) {
            <span>Welcome <span>@Html.Raw(((AppIdentity)User.Identity).DisplayName)</span></span>
            @:| @Html.ActionLink("Sign Out", "SignOut", "Auth", null, new { id = "login-link" })]
        }
        else {
            @:[ @Html.ActionLink("Sign In", "SignIn", "Auth", null, new { id = "login-link" })]
                                                                                                                                        }
    </div>
    @RenderBody()
</body>
</html>
